home *** CD-ROM | disk | FTP | other *** search
/ Comix Games / Comix Games.iso / jetsons / jetsons.exe / jetsons.dxr / 00005.ls < prev    next >
Encoding:
Text File  |  1996-11-19  |  2.6 KB  |  61 lines

  1. on InitGlobals
  2.   global theBackgroundVelocity, theShipYVelocity, theFirstBackgroundFrame, theLastBackgroundFrame, theFirstBuildingChannel, theLastBuildingChannel, theFirstShipChannel, theLastShipChannel, theWonLastGame, theLastSpriteXs, theLastSpriteYs, theLastKeyTime, theFirstOtherShipChannel, theLastOtherShipChannel, theOtherShipVelocity, theBuildingCount, theMaxNumBuildings, theFirstDropOffBuilding, theSecondDropOffBuilding, theThirdDropOffBuilding, theFourthDropOffBuilding, theLastDropOffBuilding, theMaxSpeed, theFirstPodChannel, theSecondPodChannel, theThirdPodChannel, theFourthPodChannel, theFirstClockChannel, theLastClockChannel, theSecondsLeft, theGameOver, theFirstButtonPressed, theFirstHeadChannel, theLastHeadChannel
  3.   set theFirstHeadChannel to 31
  4.   set theLastHeadChannel to 34
  5.   set theFirstButtonPressed to 0
  6.   set theGameOver to 0
  7.   set theFirstClockChannel to 28
  8.   set theLastClockChannel to 29
  9.   set theSecondsLeft to 99
  10.   set theFirstPodChannel to 23
  11.   set theSecondPodChannel to 24
  12.   set theThirdPodChannel to 25
  13.   set theFourthPodChannel to 26
  14.   set theFirstPodFrame to 23
  15.   set theLastPodFrame to 24
  16.   set theMaxSpeed to (the stageRight - the stageLeft) / 4
  17.   set theFirstDropOffBuilding to 5
  18.   set theSecondDropOffBuilding to 25
  19.   set theThirdDropOffBuilding to 50
  20.   set theFourthDropOffBuilding to 75
  21.   set theLastDropOffBuilding to 90
  22.   set theBuildingCount to 3
  23.   set theMaxNumBuildings to 50
  24.   set theFirstOtherShipChannel to 17
  25.   set theLastOtherShipChannel to 18
  26.   set theLastKeyTime to the ticks
  27.   set theLastSpriteXs to []
  28.   set theLastSpriteYs to []
  29.   set theShipYVelocity to 7
  30.   set theFirstBackgroundFrame to 2
  31.   set theLastBackgroundFrame to 3
  32.   set theBackgroundVelocity to -4
  33.   set theOtherShipVelocity to 2
  34.   set theFirstBuildingChannel to 4
  35.   set theLastBuildingChannel to 5
  36.   set theFirstShipChannel to 7
  37.   set theLastShipChannel to 7
  38.   repeat with h = theFirstHeadChannel to theLastHeadChannel
  39.     puppetSprite(h, 1)
  40.     set the visible of sprite h to 1
  41.   end repeat
  42.   repeat with h = theFirstBackgroundFrame to theLastBackgroundFrame
  43.     puppetSprite(h, 1)
  44.   end repeat
  45.   repeat with h = theFirstBuildingChannel to theLastBuildingChannel
  46.     puppetSprite(h, 1)
  47.   end repeat
  48.   repeat with h = theFirstOtherShipChannel to theLastOtherShipChannel
  49.     puppetSprite(h, 1)
  50.   end repeat
  51.   ShowShipSprite()
  52.   puppetSprite(theFirstPodChannel, 1)
  53.   puppetSprite(theSecondPodChannel, 1)
  54.   puppetSprite(theThirdPodChannel, 1)
  55.   puppetSprite(theFourthPodChannel, 1)
  56.   repeat with h = theFirstClockChannel to theLastClockChannel
  57.     puppetSprite(h, 1)
  58.   end repeat
  59.   set the keyDownScript to "whichkey"
  60. end
  61.